Overload | Description |
---|---|
Contain(T,String,Object[]) | Asserts that the collection contains the specified item. |
Contain(Expression<Func<T,Boolean>>,String,Object[]) | Asserts that the collection contains at least one item that matches the predicate. |
Contain(IEnumerable<T>,String,Object[]) | Expects the current collection to contain the specified elements in any order. Elements are compared using their System.Object.Equals(System.Object) implementation. |